package main

import "fmt"

func main() {
	var arr = [...]int{1, 2, 6, 10, 13, 14, 17, 18}
	for i := 0; i <len(arr); i++ {
		for j := 1; j <len(arr); j++ {
			if arr[i]+arr[j] == 19 {
				fmt.Printf("(%d,%d)的和是19\n", arr[i], arr[j])
			}
		}
	}
}
